#include <exception>

using namespace std;

class subtractionException : public exception
{
	virtual const char* what() const throw()
	{
		return "The second operand is greater than the first";
	}
} subex;

class charConversionException : public exception
{
	virtual const char* what() const throw()
	{
		return "The character used exceed the hex coding";
	}
} charex;	

class fatalException : public exception
{
	virtual const char *what() const throw()
	{
		return "FATAL ERROR";
	}
} fatal;	
